<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>八月冰Cake - 用户登录</title>
  <link th:href="@{/user/css/login.css}" rel="stylesheet">
</head>
<body>
<div class="login-container">
  <div class="login-box">
    <div class="login-header">
<!--      <img src="/images/logo.png" alt="logo" class="login-logo">-->
      <h2>欢迎登录八月冰Cake</h2>
    </div>

    <form id="loginForm" class="login-form">
      <div class="form-group">
        <input type="text"
               id="username"
               name="username"
               placeholder="请输入用户名"
               required>
      </div>

      <div class="form-group">
        <input type="password"
               id="password"
               name="password"
               placeholder="请输入密码"
               required>
      </div>

      <div class="remember-me">
        <input type="checkbox" id="rememberMe" name="rememberMe">
        <label for="rememberMe">记住我</label>
      </div>

      <div class="error-msg" id="errorMsg"></div>

      <button type="submit" class="login-btn">立即登录</button>
    </form>
  </div>
</div>

<script th:src="@{/user/js/login.js}"></script>
</body>
</html>